package com.rs.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.rs.model.ZhEmployment;

@Mapper
public interface ZhEmploymentMapper {

	//修改毕业生信息
	public Integer updateZhEmployment(ZhEmployment zhEmployment);
	
	//删除毕业生信息
	public Integer deleteZhEmployment(@Param("emUid")Integer emUid);
	
	//查询某个毕业生信息
	public ZhEmployment selectZhEmployment(@Param("uid")Integer uid);
	
	//查询毕业学生集合
	public Page<ZhEmployment> selectZhEmployments(ZhEmployment zhEmployment);
	
	//添加一个毕业学员
	public Integer addZhEmployment(ZhEmployment zhEmployment);
	
	//展示所有毕业学生
    public Page<ZhEmployment> listZhEmployments();
    
    //根据id删除某人毕业信息
    public Integer deleteZhEmploymentId(@Param("emid") Integer emid);
	
    //根据id查询某个毕业生信息
  	public ZhEmployment zhEmploymentId(@Param("emId")Integer emId);
	
	
}
